abstract class AppColors {
  static const APP_THEME = 0xff6cca6c;
  static const APPBAR = 0xffffffff;
}


// 应用ID	WoCIqX31djQFGKKxh4o1
// 应用私钥	fPHwvUWSXNWpjELiodaKkpweoiA5TPPE
// 应用首页	https://blog.csdn.net/yuzhangzhen
abstract class AppParams {
  static const String CLIENT_ID = "WoCIqX31djQFGKKxh4o1";
  static const String CLIENT_SECRET = "fPHwvUWSXNWpjELiodaKkpweoiA5TPPE";
  static const String REDIRECT_URI = "https://blog.csdn.net/yuzhangzhen";
}


abstract class AppUrls {
  static const String HOST = "https://www.oschina.net";

  //参数

  //授权登录
  static const String OAUTH2_AUTHORIZE = HOST+"/action/oauth2/authorize";
  static const String OAUTH2_TOKEN = HOST+"/action/openapi/token";

  //个人信息
  static const String OPENAPI_USER = HOST+"/action/openapi/user";
  static const String USER_INFORMATION = HOST+"/action/openapi/user_information";
  static const String MY_INFORMATION = HOST+"/action/openapi/my_information";

  //新闻
  static const String NEWS_LIST = HOST+"/action/openapi/news_list";
  static const String NEWS_DETAIL = HOST+"/action/openapi/news_detail";

  //帖子
  static const String POST_LIST = HOST+"/action/openapi/post_list";
  static const String POST_PUB = HOST+"/action/openapi/post_pub";
  static const String POST_DETAIL = HOST+"/action/openapi/post_detail";

  //动弹
  static const String TWEET_LIST = HOST+"/action/openapi/tweet_list";
  static const String TWEET_DETAIL = HOST+"/action/openapi/tweet_detail";
  static const String TWEET_PUB = HOST+"/action/openapi/tweet_pub";
  static const String TWEET_DELETE = HOST+"/action/openapi/tweet_delete";

  //软件
  static const String PROJECT_DETAIL = HOST+"/action/openapi/project_detail";
  static const String PROJECT_CATALOG_LIST = HOST+"/action/openapi/project_catalog_list";
  static const String PROJECT_LIST = HOST+"/action/openapi/project_list";
  static const String PROJECT_TAG_LIST = HOST+"/action/openapi/project_tag_list";


}
